import Layout from "@/layout/index";
import EmptyComponent from "@/layout/components/emptyComponent.vue";
export default [
  {
    path: "/home",
    name: "Home",
    component: Layout,
    redirect: "/home/part1",
    meta: { title: "home", icon: "el-icon-platform-eleme" },
    children: [
      {
        path: "part1",
        name: "part1",
        component: () => import("@/views/part1"),
        meta: { title: "part1", icon: "el-icon-s-goods" },
      },
      {
        path: "part2",
        name: "part2",
        component: EmptyComponent,
        meta: { title: "part2", icon: "el-icon-s-goods" },
        children: [
          {
            path: "part3",
            name: "part3",
            component: () => import("@/views/part3"),
            meta: { title: "part3", icon: "el-icon-s-goods" },
          },
        ],
      },
    ],
  },
  {
    path: "/about",
    name: "About",
    component: Layout,
    redirect: "/about/about",
    children: [
      {
        path: "about",
        name: "about",
        component: () => import("@/views/About"),
        meta: { title: "sabout", icon: "el-icon-s-custom" },
      },
    ],
  },
];
